package cn.kxlove.zhbj.domain.respone;

import org.xutils.http.annotation.HttpResponse;

import java.util.ArrayList;

import cn.kxlove.zhbj.utils.JsonResponseParser;

/**
 * @author kxlove 16/1/28 14:29
 */
@HttpResponse(parser = JsonResponseParser.class)
public class NewsBean {
    public int retcode;
    public NewsData data;

    public class NewsData {
        public String more;
        public String title;

        public ArrayList<TopNews> topnews;
        public ArrayList<News> news;

        @Override
        public String toString() {
            return "NewsData [title=" + title + ", topnews=" + topnews
                    + ", news=" + news + "]";
        }
    }

    public class TopNews {
        public String id;
        public String pubdate;
        public String title;
        public String topimage;
        public String url;

        @Override
        public String toString() {
            return "TopNews [title=" + title + "]";
        }

    }

    public class News {
        public String id;
        public String pubdate;
        public String title;
        public String listimage;
        public String url;

        @Override
        public String toString() {
            return "News [title=" + title + "]";
        }

    }

    @Override
    public String toString() {
        return "NewsBean [data=" + data + "]";
    }
}
